home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / PROGTOOL / FGL304D.ZIP;1 / EXBAS.ARJ / FGDOC / EXAMPLES / BASIC / 10-13.BAS < prev    next >
Encoding:
BASIC Source File  |  1994-01-24  |  463 b   |  35 lines

  1. REM $INCLUDE: 'fastgraf.bi'
  2.  
  3. DEFINT A-Z
  4.  
  5. DIM Image AS STRING*8
  6.  
  7. OldMode = FGgetmode
  8.  
  9. IF FGtestmode(3,1) THEN
  10.    FGsetmode 3
  11. ELSEIF FGtestmode(7,1) THEN
  12.    FGsetmode 7
  13. ELSE
  14.    PRINT "This program requires"
  15.    PRINT "an 80-column display."
  16.    STOP
  17. END IF
  18.  
  19. FGcursor 0
  20.  
  21. FGsetattr 9, 7, 0
  22. FGtext "text", 4
  23. FGwaitkey
  24.  
  25. FGlocate 0, 0
  26. FGgetimage Image, 8, 1
  27. FGlocate 1, 1
  28. FGdrwimage Image, 8, 1
  29. FGwaitkey
  30.  
  31. FGsetmode OldMode
  32. FGreset
  33.  
  34. END
  35.